package cn.iocoder.yudao.module.reading.controller.app.classes.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import java.util.List;

/**
 * 班级打卡 Request VO
 *
 * @author 芋道源码
 */
@Schema(description = "用户 APP - 班级打卡 Request VO")
@Data
public class ClassPunchReqVO {

    @Schema(description = "打卡心得内容", requiredMode = Schema.RequiredMode.REQUIRED, example = "今天的学习心得")
    @NotEmpty(message = "打卡心得不能为空")
    @Size(max = 500, message = "打卡心得长度不能超过500字符")
    private String commentText;

    @Schema(description = "今日阅读的绘本ID列表", requiredMode = Schema.RequiredMode.REQUIRED, example = "[1, 2]")
    @NotEmpty(message = "阅读绘本列表不能为空")
    private List<Long> bookIds;

}
